﻿<UserControl xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"  x:Class="Windows.Security.Authentication.Web.WebAuthenticationBrokerUI"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    mc:Ignorable="d"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    d:DesignHeight="480" d:DesignWidth="480">
    
    <Grid x:Name="LayoutRoot">
        
        <Canvas HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Canvas.ZIndex="150" Background="#a0000000" />
        <Grid HorizontalAlignment="Stretch" VerticalAlignment="Stretch" Canvas.ZIndex="200" Margin="12,24,12,12" >
            <Grid.ColumnDefinitions>
                <ColumnDefinition />
                <ColumnDefinition/>
            </Grid.ColumnDefinitions>
            <Grid.RowDefinitions>
                <RowDefinition Height="Auto"/>
                <RowDefinition/>
            </Grid.RowDefinitions>
            <HyperlinkButton x:Name="backToAppButton" Content="Back To App" Click="backToAppButton_Click" />
            <HyperlinkButton x:Name="startOverButton" Grid.Column="1" Content="Start Over" Click="startOverButton_Click" />
            <phone:WebBrowser x:Name="browser" Grid.ColumnSpan="2" Grid.Row="1" IsScriptEnabled="True" Navigating="browser_Navigating" NavigationFailed="browser_NavigationFailed" />
        </Grid>
    </Grid>
</UserControl>
